﻿using System;
using System.IO;
using Babylon.Toolbox.ModelBuilding;

namespace Babylon.Importers
{
    public interface IModelImporter
    {
        event Action<ModelContent> OnImportCompleted;
        event Action<int> OnImportProgressChanged;

        void ImportAsync(Stream source, Func<string, Stream> resourceLocator, ImportationOptions importationOptions = ImportationOptions.None);
    }
}
